package com.dailyblue.java.spring.ioc.demo7;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class App {
    public static void main(String[] args) {
        ApplicationContext beans = new AnnotationConfigApplicationContext("com.dailyblue.java.spring.ioc.demo7");
        Printer printer = beans.getBean(Printer.class);
        printer.print("sdfjdsfhdsfhfkhsdkfhdsfhdshfjkdsfhkjdsfjksdfjkdfdsgfdsfgjdsfdsfkjdshfkdshfkjdhfjkdshfkjdshfkjdshfjkdsf");
    }
}
